package com.mikao.service;


import com.mikao.dto.bo.VerifyCodeForm;
import com.mikao.dto.vo.BaseResult;

/**
 * @author KennyDavid
 */

public interface VerifyCodeService {

    /**
     * 发送验证码
     *
     * @param mobile 手机号
     * @return bool
     */
    BaseResult sendVerifyCode(String mobile);

    /**
     * 验证验证码
     *
     * @param verifyCodeForm 验证表单
     * @return 封装类
     */
    BaseResult checkVerifyCode(VerifyCodeForm verifyCodeForm);
}
